// 请写出一个pinia store的例子
import { defineStore } from "pinia";
import { newEmployeeApi } from "@/api/employee";
import { log } from "console";

export const useEmployeeStore = defineStore("employee", {
  state: () => ({}),
  actions: {
    async newEmployeeAction(formData: any) {
      await newEmployeeApi(formData);
    },
  },
});
